package demo.componet.list
{
	import laya.ui.Box;
	import laya.ui.Label;
	
	/**
	 *@date 2017-2-16 下午3:00:23
	 *@author zhouhonghui
	 */
	public class GListItem extends Box
	{
		protected var _lbl:Label;
		private var _label:String;
		public function GListItem()
		{
			super();
		}
		protected override function createChildren():void
		{
			super.createChildren();
			_lbl = new Label();
			addChild(_lbl);
		}

		public function get label():String
		{
			return _label;
		}

		public function set label(value:String):void
		{
			_label = value;
			_lbl.text = _label;
		}
		
		
		
	}
}